עזרה בבעיה
3 תשובות
אתה מנסה לשלוח מייל מלוקאלהוסט וזה בעיה לעשות את זה.
כשתעביר את האתר לשרת האחסון שלך - שם זה יעבוד.
אם אתה בכל זאת מאוד רוצה:
http://phpguide.co.il/%D7%A9%D7%9C%D7%99%D7%97%D7%AA_%D7%9E%D7%99%D7%99%D7%9C_%D7%9E_php_%D7%93%D7%A8%D7%9A_gmail_smtp.htm
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "220 mx.google.com ESMTP c16sm49715176eei.1 "
SMTP -> get_lines(): $data is "220 mx.google.com ESMTP c16sm49715176eei.1 "
SMTP -> FROM SERVER:220 mx.google.com ESMTP c16sm49715176eei.1
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250-mx.google.com at your service, [109.64.115.174] "
SMTP -> get_lines(): $data is "250-mx.google.com at your service, [109.64.115.174] "
SMTP -> get_lines(): $data was "250-mx.google.com at your service, [109.64.115.174] "
SMTP -> get_lines(): $str is "250-SIZE 35882577 "
SMTP -> get_lines(): $data is "250-mx.google.com at your service, [109.64.115.174] 250-SIZE 35882577 "
SMTP -> get_lines(): $data was "250-mx.google.com at your service, [109.64.115.174] 250-SIZE 35882577 "
SMTP -> get_lines(): $str is "250-8BITMIME "
SMTP -> get_lines(): $data is "250-mx.google.com at your service, [109.64.115.174] 250-SIZE 35882577 250-8BITMIME "
SMTP -> get_lines(): $data was "250-mx.google.com at your service, [109.64.115.174] 250-SIZE 35882577 250-8BITMIME "
SMTP -> get_lines(): $str is "250-AUTH LOGIN PLAIN XOAUTH "
SMTP -> get_lines(): $data is "250-mx.google.com at your service, [109.64.115.174] 250-SIZE 35882577 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH "
SMTP -> get_lines(): $data was "250-mx.google.com at your service, [109.64.115.174] 250-SIZE 35882577 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH "
SMTP -> get_lines(): $str is "250 ENHANCEDSTATUSCODES "
SMTP -> get_lines(): $data is "250-mx.google.com at your service, [109.64.115.174] 250-SIZE 35882577 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH 250 ENHANCEDSTATUSCODES "
SMTP -> FROM SERVER: 250-mx.google.com at your service, [109.64.115.174] 250-SIZE 35882577 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH 250 ENHANCEDSTATUSCODES
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "334 VXNlcm5hbWU6 "
SMTP -> get_lines(): $data is "334 VXNlcm5hbWU6 "
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "334 UGFzc3dvcmQ6 "
SMTP -> get_lines(): $data is "334 UGFzc3dvcmQ6 "
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "535-5.7.1 Username and Password not accepted. Learn more at "
SMTP -> get_lines(): $data is "535-5.7.1 Username and Password not accepted. Learn more at "
SMTP -> get_lines(): $data was "535-5.7.1 Username and Password not accepted. Learn more at "
SMTP -> get_lines(): $str is "535 5.7.1 http://support.google.com/mail/bin/answer.py?answer=14257 c16sm49715176eei.1 "
SMTP -> get_lines(): $data is "535-5.7.1 Username and Password not accepted. Learn more at 535 5.7.1 http://support.google.com/mail/bin/answer.py?answer=14257 c16sm49715176eei.1 "
SMTP -> ERROR: Password not accepted from server: 535-5.7.1 Username and Password not accepted. Learn more at 535 5.7.1 http://support.google.com/mail/bin/answer.py?answer=14257 c16sm49715176eei.1
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250 2.1.5 Flushed c16sm49715176eei.1 "
SMTP -> get_lines(): $data is "250 2.1.5 Flushed c16sm49715176eei.1 "
SMTP -> FROM SERVER:250 2.1.5 Flushed c16sm49715176eei.1
SMTP Error: Could not authenticate.
מה לעשות ?